//教师信息
'use strict';
var JsonApiServer = "http://219.239.146.211:2300/"
app.service('quizData',function($http) {
	var Info = this;
	this.getQuizData = function(){
		var url = JsonApiServer + "quiz";
		return (Info.Data) ? Info.Data : $http.get(url).then(function(result) {
			Info.Data = result.data;
			console.log("quiz:", Info.Data);
		});
	}
})